003 how i do it (part 2)
好的,让我们跳回到我们上次停下的地方。
OK let's jump back in right where we left off.
我们已经有了开始和停止按钮。
We've already got our start and stop button.
我们已经在屏幕上看到了一些很好的指标。
We've already got a couple of good indicators on the screen.
现在我想开始展示我们的坦克。
Now I want to start with showing our tank.
所以我们已经知道我们将进入我们的符号,我将拿出一辆坦克,你知道在所有这些坦克中我认为这仍然是我们项目的最佳选择。
So we already know we're going to come into our symbols and I'm going to grab out a tank and you know out of all of these tanks I think this one still looks the best for our project.
我讨厌再次使用同样的东西,但是伙计,你知道这看起来对我们来说是完美的坦克,它有最干净的水平显示,你知道我们的坦克的尺寸、形状和配置确实相同。
And I hate to use the same thing over again but man you know that just looks like the perfect tank for us and it's got the cleanest display of level and it's you know really the same size and shape and disposition of our tank.
所以我必须采取有效的措施。
So I'm going I have to go with what works on that.
让我们把它放在这里,它又有点小了,所以我要取消选中链接的大小,然后让我们替换这个模拟值,然后继续放入我们自己的标签。
And let's just drop that in here and it's a little bit small again so I'm going to uncheck the linked size and then let's replace out this analog value and let's go ahead and put in our own tag.
这将是我们真正的油箱液位。
That's going to be our real tank level.
好的。
OK.
范围从 0 到 100。
That scales from zero to 100.
那很完美。
That's perfect.
我们可以离开那里。
And we can close out of there.
现在我们可以对这个东西进行一些大小调整,我不需要它太疯狂,但这看起来是正确的。
And now we've got some resizing we can do on this thing and I don't need it to be too crazy but that looks about right.
那么过滤器呢?
And what about a filter.
是否有某种符号可以用于我们的过滤器。
Is there some kind of symbol that we can use for our filter.
事实上,我真的没有看到任何与我们的过滤器看起来相似的东西。
And the truth is I'm really not seeing any of these things that looks anything similar to our filter.
所以让我们离开那里吧。
So let's close out of there.
我想我必须创造一些东西。
And I think I'm going to have to create something.
让我们从一个漂亮的简单矩形开始。
So let's start with a nice simple rectangle.
我将继续画出关于“耶”的大图。
And I'll go ahead and draw that about Yea big.
然后让我们尝试画一个椭圆,我将看看如何在这里画一个椭圆,以圆化这个东西的顶部和底部,并使其看起来类似于我们的过滤器,这样我就可以把它画在那里。
And then let's try for an ellipse and I'm going to see what it takes to draw an ellipse in here to kind of round off the top and bottom of this thing and make it look something similar to our filter so I can just kind of draw that in right there.
复制和粘贴。
Copy and paste.
另一个。
Another one.
将其放在那里,然后我将单击中间的实际矩形。
Drop it in right there and then I'm going to click on my actual rectangle in the middle.
让我们单击一个范围并将其带到开始看起来像我想要的那样的前面。
Let's click on a range and bring to a front that's starting to look about like I want.
然后我还需要创建一些腿。
And then I also need to create some legs.
因此,让我们再创建几个矩形并将它们制作得大约是大的。
So let's create a couple more rectangles and make them about Yea big.
我也想把这个范围缩小一点。
And I'm also going to want to shrink this down a little bit.
我们就这样吧。
So there we go.
看起来不错。
That looks pretty good.
我有一个矩形,复制和粘贴总是到右上角,我认为看起来很接近,但我认为我在右侧的装扮不太完美。
There's one of my rectangles and copy and paste always goes to the top right and I think that looks pretty close I don't think I'm dressed up quite perfectly on that right side.
但我可以忍受它。
But I can live with it.
所以我就是这样想的。
So I think just like that.
我已经有了我的女儿了
I've already got my daughter.
我要看看是否可以关闭快照并稍微推动一下这个东西。
I'm going to see if I can turn off snap and nudge this thing a little bit.
因此,让我们进入网格设置并关闭“对齐网格”,然后单击“确定”。
So let's go into grid settings and turn off snap to grid hit OK.
然后我点击这个矩形,看看是否可以轻推它。
Then I click on this rectangle and see if I can just nudge this.
我想如果我能多出来一点。
I think if I come out just a little bit more.
现在这件事看起来非常接近我想要的样子。
Now that thing looks pretty close to what I'm going to want it to be.
但我确实希望它的风格像我的坦克一样,因为这东西看起来一点都不像。
But I do want it styled something like my tank I've got because this thing doesn't look anything like it.
因此,让我们首先将其变成某种好看的东西,这样我将单击它,然后我想按住控制键。
So let's start by turning this into some kind of good looking thing so I'm going to click on that and then I want to hold down control.
我将单击这个矩形和另一个椭圆,然后右键单击并选择组,这样我想将所有这些变成一个形状,然后再次双击它并进入我的全色和填充颜色。
I'm going to click on this rectangle and my other ellipse and then I'm going to right click and select group so I want to turn all of that into one shape and then double click it again and go into my full color and fill color.
我想我会想要某种灰色,所以让我们继续从这个中间等级开始,看看它会给我们带来什么。
I think I'm going to want some kind of gray So let's just go ahead and start with this middle grade to see where that gets us.
然后我还要单击返回此处并进入填充效果,我想使用相同类型的水平渐变。
And then I'm also going to click back in here and go into fill effects and I want to use that same kind of horizontal gradient.
因此,让我们继续选择垂直样式,这个看起来很相似,因为这种样式在中间褪色为白色,然后又回到灰色。
So let's go ahead and select vertical styles and this one looks similar because that kind of fades to white in the middle and then comes back out to this gray.
这是一个小例子,展示了它的样子,我认为这已经让我们非常接近了。
So here's a little example of what that's going to look like and I think that already puts us pretty close.
那么让我点击“确定”。
So let me hit OK on that.
然后对于线条颜色,也许我会采用相同的灰色,这样我在外面就没有任何明显的东西。
And then for a line color maybe I'll just take my same gray so that I really don't have anything to noticeable on the outsides.
让我们关闭它,看起来它们是矩形,颜色要暗得多。
And let's close that and it looks like they're rectangle is considerably darker.
让我们继续尝试这种最深的灰色,这样做就消除了我们的效果。
And let's go ahead and try this darkest grey and did that just take away our effect.
他这样做了,我想我们必须重新绘制我们的效果。
He did so I guess we have to redraw our effect.
让我们回到 Filofax 来看看我们的垂直攻击。
Let's go back into Filofax take our vertical hit.
好的。
OK.
我认为这让我们非常接近。
And I think that's getting us pretty close.
所以看起来我以某种方式向前移动了我的坦克,我将继续将其发送回后面,所以我右键单击它,然后单击发送到后面。
So it looks like I moved my tank forward somehow and I'm going to go ahead and send that back to the back so I right clicked on it and I'm just going click send to the back.
然后我需要对这些腿做一些处理,因为这些腿非常蓝色。
And then I need to do something about these legs because these legs are pretty blue.
因此,让我们继续采取这一点,我将在此处采用这种中灰色作为线条,我将采用相同的中灰色,然后看看我不喜欢这种效果。
So let's go ahead and take this and I'm going to take this kind of medium gray color here for the line and I'm going to take that same medium gray color and looking at that I'm not in love with the effect.
所以让我们尝试一下非常浅的灰色,我会在它周围放一条我喜欢的深灰色线。
So let's try a very light gray and I will put a dark gray line around it that I love.
因此,让我们先做一个,然后再做另一个。
So let's go ahead and do one and then do the other.
所以我们要里面最浅的灰色,外面最深的灰色就OK了。
So we want the lightest grey inside the darkest gray outside head OK.
我想我已经有了一个我对大部分内容都非常满意的过滤器。
And I think I've got a filter there that I'm pretty happy with for the most part.
我可能只需要稍微调整一下大小。
I might just need to resize this a little bit.
那么让我们试试这个。
So let's try this.
我想选择整个内容,然后右键单击它并选择组,然后看看是否可以将其拉伸得更宽一些。
I want to select the whole thing and I'm going to right click on that and select group and then see if I can just stretch that a little bit wider.
这一点也不坏。
That's not too bad at all.
现在我的水箱显示液位,但我的过滤器没有显示任何压差。
And now my tank is showing level but my filter is not showing any differential pressure.
嗯,那应该很容易。
Well that should be easy.
让我们进入符号,让我们以米为单位,我想我会使用这个半圆形的银米,看起来它可能适合我们。
Let's go into symbols and let's take meters and I think I'll use this half round silver metre that looks like it might work out for us.
所以让我们双击它。
So let's double click on this.
我们知道我们想要更改标签,因此我们只需选择标签所在的位置,然后输入磅/平方英寸差值的 PSA ID。
We know we want to change our label so let's just select where it says label and type in PSA ID for pounds per square inch differential.
然后我们可以将这个 100 降低到 7,因为我们将从 0 到 7 查看这个值,然后双击这个模拟值,我们宁愿显示我们的压差。
And then this 100 we can just drop that down to seven because we're going to look at this from 0 to 7 and then double click on this analog value and we'd rather show our differential pressure.
所以我认为这看起来是正确的,我将取消选中这个链接的尺寸,这样也许我可以像这样制作一个小一点的弓。
So I think that looks about right and I'm going to uncheck this linked size so maybe I can make that a little bit smaller bow like so.
让我们看看我们是否可以把它放在我们的春药上面,我就把它放在那儿,这应该会告诉我们我们的差异是什么。
And let's see if we can put this right on top of our philtre and I'll just put it right about there there and that should show us what our differential is.
然后我想指示通过过滤器的流动方向。
And then I want to indicate direction of flow going through my filter.
所以我想我需要再画一个箭头。
So I think I need to draw another arrow.
我在符号中已经有大量箭头,但为了设置这些东西,我需要两个不同的箭头,一个显示我的反冲洗流量,一个显示我的正常流量,实际上我没有一点显示我的正常流量。
I've got tons of arrows already in here in the symbols but for setting these things up I need two different arrows one that shows my backwash flow one that shows my normal flow and I actually don't have a bit showing my normal flow.
因此,继续创建箭头可能会更快、更容易。
So it's probably going to be faster and easier just to go ahead and create an arrow.
因此,让我们继续单击闭合多边形,我将继续在此处绘制一个小箭头。
So let's go ahead and click on closed polygon and I'm going to go ahead and just draw out a little arrow here.
就像这样,这个闭合多边形工具的好处是我真的可以很快地创建一个箭头。
So just like that and nice thing about this close polygon tool is I can really create an arrow pretty quickly.
我们就这样吧。
And there we go.
我错过了一个,所以让我们继续将其向后拖一点。
And I missed one so let's go ahead and drag that back a little bit there.
现在我有一个错误。
Now I've got an error.
因此,让我们双击这个东西,我将填充它。
So let's double click on this thing and I'm going to fill it.
这个将是绿色的,让我们继续将外部颜色设置为绿色,因为我真的希望它看起来非常平坦完美。
And this one is going to be green and let's go ahead and set the outside color to Green also because I really want that to look pretty flat perfect.
让我们继续并关闭这里,现在我已经有了这个绿色箭头,让我们在上面添加一些动画,这样我就知道我将使用一种颜色,并且我知道我将需要旋转。
Let's go ahead and close out of here and now that I've got this green arrow Let's put some animations on it so I know I'm going to one color and I know I'm going to want rotation.
我想我也会在那里提高知名度。
And I think I will also put a visibility on there.
那么我们可以用我们刚刚创建的这个绿色箭头做什么呢?
So what can we do with this green arrow that we've just created.
好吧,我们要做的第一件事就是设置可见性,我要把我的可见性与我的泵位联系起来,看起来我把那个东西设置错了。
Well the first thing we want to do is put visibility and I'm going to tie my visibility into my pump bit and it looks like I've got that thing set up wrong.
我已经将其设置为我们的,并且应该是 P1。
I've got that set up as our one and that should be P1.
所以这看起来像是我的错字。
So that looks like a typo on my part.
因此,让我们继续双击它,我们将把它更改为 P,我想替换它吗?
So let's go ahead and double click on this and we're going to change that are to a P and do I want to replace that.
是的。
Yes.
让我们继续并点击“确定”。
Let's go ahead and hit OK on that.
现在看来它正在努力挽救这一点。
And now it looks like it's trying to save that.
我想保存所有文档。
I want to save all documents.
好的,让我们保存所有文档。
OK let's save all documents.
返回到我们的屏幕,现在让我们继续再试一次。
Come back into our screen and now let's go ahead and try that again.
因此,我们将把可见性与泵一指示器联系起来。
So we're going to tie our visibility to our pump one indicator.
非常好。
Very good.
我们还想改变什么。
What else do we want to change.
我们已经有了我们的颜色,所以让我们点击这里,我们将尝试我们的颜色到我们的反洗运行位点击确定。
We've got our colors so let's click in the here and we'll try our colors to our backwash running bit hit OK.
如果正在运行反冲洗,那么我们希望它变成蓝色。
And if backwash is running then we want this to be let's make it blue.
所以我会过来这里并选择我的蓝色,然后如果反洗没有运行,我们处于向前流动,我将继续在那里将其设置为绿色。
So I will come over here and select my blue right there and then if backwash is not running in we're in forward flow I will go ahead and make that green right there.
所以我喜欢这样。
So I like that.
让我们继续到这里进行轮换,这个的标签表达式也将是我的反冲洗运行。
Let's go ahead and come up here to rotation and the tag expression for this one is also going to be my backwash running.
我的范围最小值为零,最大值为一,如果反冲洗不运行,我的旋转次数将为零。
My range is going to be a minimum of zero and a maximum of one and my rotation is going to be zero if the backwash is not running.
如果正在运行反冲洗,则为 180,并且该参考值将位于中心。
And one hundred and eighty if the backwash is running and the reference for that will be right in the center.
那么让我们继续并结束它。
So let's go ahead and close that.
现在我应该有一个箭头,如果反冲洗正在运行或保持向前并显示绿色,该箭头将旋转 180 度。
And now I should have an arrow which will spin around 180 degrees if the backwash is running or stay forward and show green.
如果不是,我要改变的一件事就是我会以颜色回来,我认为我的绿色有点暗。
If it's not and the one thing I will change is I'm going to come back in the colors and I think my green is a little bit dark.
因此,让我们继续添加自定义颜色,我将为这个家伙选择更明亮、更快乐的绿色。
So let's go ahead and add a custom color and I'm going to pick a brighter happier green for this guy.
关闭。
Close out.
返回到闭合多边形,这里也是同样的事情。
Go back to close polygon and same thing here.
我将为线条和颜色选择更明亮、更快乐的绿色。
I'm going to select that brighter happier green for the line and the color.
让我们结束吧。
And let's close out.
好的。
All right.
所以现在我明白了。
So now I've got that.
我正在显示流动方向。
I'm showing direction of flow.
我正在显示我的水箱液位,看起来我需要再休息一下,然后再回来听一堂课,因为我仍然需要设置我的标签,我仍然需要清理屏幕并添加一些导航以及类似的事情。
I'm showing my tank level and it looks like I'm going to need to take another break and come back in one more lecture because I still need to set up my tags and I still need to clean the screen up and put some navigation and things like that in.
那么我们就到此结束吧,我们将在下一堂课中继续讨论这个问题,这将是最后一堂课。
So let's wrap here and we'll come back and pick this up in the next and that will be the last lecture.
所以欢呼吧
So seaven cheers